package util;

public final class Int  extends Parsable<Int> {

	public static Int parseInt(String str) {
		 return new Int(Integer.parseInt(str));
	}
	private long val;
	
	public Int() {
	}

	public Int(int a) {
		val = a;
	}
	
	public Int(long a) {
		val = a;
	}
	
	public long get() {
		return val;
	}
	
	@Override
	public Int parse(String str) {
		 return new Int(Long.parseLong(str));
 
	}

	@Override
	public String toString() {
		return String.valueOf(val);
	}
}
